package com.zhonghui;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableAsync
@EnableTransactionManagement
@EnableCaching

@MapperScan(basePackages = {"com.zhonghui.modlules.*.eshopMapper","com.zhonghui.common.eshopMapper","com.zhonghui.modules.mapper"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class ApiRun {

    public static void main(String[] args) {
        SpringApplication.run(ApiRun.class,args);

        System.out.println();
    }


}
